home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2003-08-06 | 1.4 KB | 46 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="2"
- "COUNT"="1"
- "UIPATH 1"="Network\RAS & DUN"
- "UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
- "NAME"="RAS Timeout"
- "VERSION"="1.02"
- "OSVERSION"="0101011"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Timeout (sec)"
- "DESCRIPTION 1"="When connecting using RAS to a RAS Server, it can a long time until the RAS Server sends the response.
- "DESCRIPTION 2"="In some cases, it takes so long that Windows cancels the request because it thinks the server is no longer responding.
- "DESCRIPTION 3"="Use this plug-in to change the wait delay to anything between 1 and 600 seconds.
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to CptSiskoX for his help!"
-
-
- sP="HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\ExpectedDialupDelay" 'DW
-
- Sub Plugin_Initialize
- i=RegReadValue(sP)
- SetUIElement 1,i
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- i=GetUIElement(1)
- if len(i)=0 then
- If RegValueExists(sP) then Call RegDeleteValue(sP)
- else
- if i>1 and i<601 then
- Call RegWriteValue(sP,i,2)
- else
- MsgError "Please enter a number bigger than 1 and smaller than 601"
- end if
- end if
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-